package com.piston.sensor;

/**
 * 
 * @author Administrator
 * 
 * 
 *         This class represents a Sensor event and holds informations such as
 *         the sensor's type, the time-stamp, accuracy and of course the
 *         sensor's data.
 */
public class SensorEvent {
	/**
	 * The accuracy of this event.
	 */
	public int accuracy;
	/**
	 * The sensor that generated this event.
	 */
	public Sensor sensor;
	/**
	 * The time in nanosecond at which the event happened
	 */
	public long timestamp;
	/**
	 * The length and contents of the values array depends on which sensor type
	 * is being monitored
	 */
	public float[] values;

	public SensorEvent() {
		// TODO Auto-generated constructor stub
	}
}
